package lol.oxguy3.tabalicious;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;

public class SomethingActivity extends Activity implements OnClickListener {
	
	Context cxt;
	CharSequence toastacular="You just lost the game.";
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.something);
        
        Bundle progressive = getIntent().getExtras();
        
        cxt = this;
        Toast.makeText(cxt, progressive.getString("shmextra"), Toast.LENGTH_LONG).show();
        
        ((Button)findViewById(R.id.button1)).setOnClickListener(this);
    }

	public void onClick(View v) {
        Intent durp = new Intent(cxt, TabaliciousActivity.class);
        cxt.startActivity(durp);
	}
}
